/*
 * @Date: 2024-11-22 13:46:11
 * @Author: LiSong
 * @LastEditors: LiSong
 * @LastEditTime: 2024-11-26 13:55:53
 * @Description: 
 */
import ChartBar from './chart-bar'
import ChartPie from './chart-pie'
import ChartMap from './chart-map'
import ChartLine from './chart-line'

/**
 * 安装基础属性插件
 * 
 * @param {PluginManager} pluginManager 插件管理类
 */
export function setupChartPanel (pluginManager) {
  const group = { type: 'chart', name: '图表组件', order: 2 }
  const panels = [
    ChartLine,
    ChartBar,
    ChartPie,
    ChartMap
  ]
  panels.forEach(item => {
    pluginManager.registerPanels(item, group)
  })
}
